<!--
 * @Description: 
 * @Author: xuzp4
 * @Date: 2022-03-22 15:54:54
 * @LastEditors: xuzp4
 * @LastEditTime: 2022-05-02 13:06:22
 * @FilePath: \visitor_management\src\components\BreadCrumb.vue
-->
<template>
    <el-breadcrumb separator="/">
        <el-breadcrumb-item :to="{ path: '/',query:{ticket} }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>{{text}}</el-breadcrumb-item>
      </el-breadcrumb>
</template>

<script>
export default {
    props:{
        text :{
            type:String,
            default:''
        }
    },
    data() {
      return {
        ticket: ''
      }
    }
}
</script>

<style>

</style>